import { lazy} from "react"
let routerList = [
    {
        path:"/home",
        component:lazy(()=>import("../pages/home")),
        children:[
            {
                path:"/home/movie",
                component:lazy(()=>import("../pages/movie")),
            },
            {
                path:"/home/video",
                component:lazy(()=>import("../pages/video")),
            },
            {
                path:"/home/show",
                component:lazy(()=>import("../pages/show"))
            }
        ]
    },
    {
        path:"/my",
        component:lazy(()=>import("../pages/my"))
    },
    {
        from:"/",
        to:"/home/movie"
    }
]
export default routerList